﻿using HECore.Tenant.Contract.Models.Emoloyees.Dtos;
using System;
using System.Collections.Generic;

namespace HECore.Admin.WebApi.Models.Emoloyees.Dtos
{
    /// <summary>
    /// 员工登录
    /// </summary>
    public class GetLoginCodeDto
    {
        /// <summary>
        /// 登录Code
        /// </summary>
        public LoginCodeDto CodeInfo { get; set; }

        /// <summary>
        /// 员工
        /// </summary>
        public List<EmployeeDetailsDto> Employees { get; set; }
    }

    /// <summary>
    /// 登录code
    /// </summary>
    public class LoginCodeDto
    {
        /// <summary>
        /// 登录Code
        /// </summary>
        public Guid Code { get; set; }

        /// <summary>
        /// Code失效时长：分钟
        /// </summary>
        public int CodeExpireMinute { get; set; }
    }
}